<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	template="/WEB-INF/jsf/template.xhtml">

	<ui:define name="content">
		<h:form prependId="false">
			<p:commandButton image="back" ajax="false" immediate="true" style="margin-right:20px;" value="#{companiasmsgs['navigation.back']}" action="/jsf/companias/viewCompanias.xhtml"/>
		
			<p:panel header="#{companiasmsgs['sucursales.title']} Details" style="margin-top:10px">
				<p:messages />
				<h:panelGrid id="detail" columns="2" styleClass="grid" columnClasses="label,value">
					<h:outputText value="#{companiasmsgs['sucursales.co001cdgo.title']}:" />
							<h:outputText value="#{CompaniasComponent.sucursaleses.co001cdgo}"/>
					<h:outputText value="#{companiasmsgs['sucursales.co001nomb.title']}:" />
							<h:outputText value="#{CompaniasComponent.sucursaleses.co001nomb}"/>
					<h:outputText value="#{companiasmsgs['sucursales.co001esta.title']}:" />
							<h:outputText value="#{CompaniasComponent.sucursaleses.co001esta}"/>
					<h:outputText value="#{companiasmsgs['sucursales.co001load.title']}:" />
							<h:outputText value="#{CompaniasComponent.sucursaleses.co001load}"/>
					<h:outputText value="#{companiasmsgs['sucursales.co001fead.title']}:" />
							<h:outputText value="#{CompaniasComponent.sucursaleses.co001fead}"  converter="dateConverterForCalendar" />
					<h:outputText value="#{companiasmsgs['sucursales.co001lomo.title']}:" />
							<h:outputText value="#{CompaniasComponent.sucursaleses.co001lomo}"/>
					<h:outputText value="#{companiasmsgs['sucursales.co001femo.title']}:" />
							<h:outputText value="#{CompaniasComponent.sucursaleses.co001femo}"  converter="dateConverterForCalendar" />
				</h:panelGrid>
			</p:panel>
		</h:form>
	</ui:define>
</ui:composition>